{$header}<div id="main" class="main" >
<div class="content">
  <h3 class="heading">修改产品分类 [ <a href="javascript:history.back()">返回列表</a> ]</h3>
<div id="result" class="result none"></div>
<form class="form-horizontal well" method='post' id="form1" action="__URL__/update/">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" >名称：</td>
	<td class="tLeft" >
              <input type="text"  name="name" value="{$vo.name}" />
        </td>
</tr>
<tr>
	<td class="tRight" >上级分类：</td>
	<td class="tLeft" ><select name="parent_id">
    <option value="0" selected >无上级分类</option>
	<volist name="list" id="list">
	<option value="{$list.id}" <eq name="list.id" value="$vo.parent_id">selected</eq>>{$list.level}{$list.name}</option>
	</volist>
	</select></td>
</tr>


<tr>
	<td class="tRight">状态：</td>
	<td class="tLeft"><SELECT class="small bLeft"   name="status">
	<option <eq name="vo.status" value="1" >selected</eq> value="1">启用</option>
	<option <eq name="vo.status" value="0" >selected</eq> value="0">禁用</option>
	</SELECT></td>
</tr>
<tr>
	<td></td>
	<td class="center">
                <input type="hidden" value="{$vo.id}" name="id">
	<button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> 保存</button>
        <button type="reset" onclick="javascript:history.back()" class="btn btn-primary offset1"><i class="icon-arrow-left icon-white"></i> 返回</button>
	</td>
</tr>
</table>
</form>
</div>
</div>
